﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace FormatVisualizer
{
	[DefaultPropertyAttribute("Item")]
	public class FormatNodeProperty
	{
		[CategoryAttribute("Description"), DescriptionAttribute("Name of the item")]
		public string Text { get; internal set; }

		[CategoryAttribute("Description"), DescriptionAttribute("Path of the item including all the parent items separated by slash(/)")]
		public string Path { get; internal set; }

		[CategoryAttribute("Description"), DescriptionAttribute("Description of the item")]
		public string Comment { get; internal set; }

		[CategoryAttribute("Data"), DescriptionAttribute("Offset of the item from the start address")]
		public int Offset { get; internal set; }

		[CategoryAttribute("Data"), DescriptionAttribute("Size of the item (bytes)")]
		public int Size { get; internal set; }
	}
}
